//必须带done回调 执行完成调用 vm, action, done
export default function openSplitpane({ vm, action, done }) {
  if (action.extension.id.value.length > 0) {
    let self = vm.vuiComponents[action.extension.id.value[0]].self
    if (self) {
      //隐藏面板的配置
      let showNum = 1
      action.extension.showPanels && (showNum = action.extension.showPanels.value)
      //调用隐藏
      self.$show(showNum)
    }
  }
  done(null, {})
}
